﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InsuranceTests.classes
{
    class Flat
    {
        public Flat(int a, int b, string c, bool d,int e, double f,int g, int h)
        {
            this.id = a;
            this.idClient = b;
            this.adress = c;
            this.lostFloor = d;
            this.rooms = e;
            this.square = f;
            this.year = g;
            this.price = h;
        }
        private int id;
        private int idClient;
        private string adress;
        private bool lostFloor;
        private int rooms;
        private double square;
        private int year;
        private int price;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public int IdClient
        {
            get { return idClient; }
            set { idClient = value; }
        }
        public string Adress
        {
            get { return adress; }
            set { adress = value; }
        }
        public bool LostFloor
        {
            get { return lostFloor; }
            set { lostFloor = value; }
        }
        public int Rooms
        {
            get { return rooms; }
            set { rooms = value; }
        }
        public double Square
        {
            get { return square; }
            set { square = value; }
        }
        public int Year
        {
            get { return year; }
            set { year = value; }
        }
        public int Price
        {
            get { return price; }
            set { price = value; }
        }

    }
}
